<!--<?php
print<<<GH
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="templates/msystem/ljy.css" rel="stylesheet" type="text/css" />
<link href="ljy.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id=list-div>
<div id="toppath">系统过滤设置<font color="red">(级别设置的越高，过滤越严格，建议设置一级)</font></div>
<form name="form0" method="post" action="filter.inc.php?action=doforce">
	<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" >
	<thead>
		<tr>
		  <th height="27" colspan="2" align="center" valign="middle" bgcolor="#EFEFEF"><div align="center" class="STYLE1">
		    <div align="left">设定系统强制过滤</div>
		  </div></th>
	    </tr>
	</thead>
	<tbody>

		<tr>
			<td align="center">
			<div>			
			<label>直接设置强制过滤</label>
			</div>
			<div align="center">
		    <input name="Submit" type="submit" class="submit" value="提交" />
			</div>
			</td>
		</tr>
	 </tbody>
  </table>
  
 </form>

 <form name="form3" method="post" action="filter.inc.php?action=doprotect">
	<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" >
	<thead>
		<tr>
		  <th height="27" colspan="2" align="center" valign="middle" bgcolor="#EFEFEF"><div align="center" class="STYLE1">
		    <div align="left">设定系统白名单过滤</div>
		  </div></th>
	    </tr>
	</thead>
	<tbody>

		<tr>
			<td align="center">
			<div>			
			<label>直接设置白名单过滤</label>
			</div>
			<div align="center">
		    <input name="Submit" type="submit" class="submit" value="提交" />
			</div>
			</td>
		</tr>
	 </tbody>
  </table>
  
 </form>

<form name="form1" method="post" action="filter.inc.php?action=dolevel">
	<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" >
	<thead>
		<tr>
		  <th height="27" colspan="2" align="center" valign="middle" bgcolor="#EFEFEF"><div align="center" class="STYLE1">
		    <div align="left">设定系统过滤级别</div>
		  </div></th>
	    </tr>
	</thead>
	<tbody>

		<tr>
			<td align="center">
			<div>			
			<label><input type="radio" name="setlevel" value="-1" {$ifselect0} />取消过滤设置</label>	
			<label><input type="radio" name="setlevel" value="1" {$ifselect1} />第一过滤级别</label>
		    <label><input type="radio" name="setlevel" value="2" {$ifselect2}/>第二过滤级别</label>
		    <label><input type="radio" name="setlevel" value="3" {$ifselect3}/>第三过滤级别</label>
			</div>
			<div align="center">
		    <input name="Submit" type="submit" class="submit" value="提交" />
			</div>
			</td>
		</tr>
	 </tbody>
  </table>
 </form>
  <form name="form2" method="post" action="filter.inc.php?action=dokeytable">
    <table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" >
      <thead>
        <tr>
          <th height="27" colspan="3" align="center" valign="middle" bgcolor="#EFEFEF"><div align="center" class="STYLE1">
              <div align="left">编辑过滤关键字</div>
         </th>
        </tr>
      </thead>	 
        <tr>
          <td width="33%" align="center" class="table_left"><label>请选择级别字典</label></td>
          <td width="67%" align="center">
		 	 <label>
				<input type="radio" name="keytable" onclick="if ( this.checked=true) {document.getElementById('edit4').style.display='';document.getElementById('edit1').style.display='none';document.getElementById('edit2').style.display='none';document.getElementById('edit3').style.display='none';document.getElementById('edit5').style.display='none';}" value="table4" />
            强制级别
			</label>
		  		<label>
				<input type="radio" name="keytable" onclick="if ( this.checked=true) {document.getElementById('edit1').style.display='';document.getElementById('edit2').style.display='none';document.getElementById('edit3').style.display='none';document.getElementById('edit4').style.display='none';document.getElementById('edit5').style.display='none';}" value="table1" />
            级别一
			</label>
			<label>
              	<input type="radio" name="keytable" onclick="if ( this.checked=true) {document.getElementById('edit2').style.display='';document.getElementById('edit1').style.display='none';document.getElementById('edit3').style.display='none';document.getElementById('edit4').style.display='none';document.getElementById('edit5').style.display='none';}" value="table2" />
              级别二
			 </label>
			 <label> 
              	<input type="radio" name="keytable" onclick="if ( this.checked=true) {document.getElementById('edit3').style.display='';document.getElementById('edit1').style.display='none';document.getElementById('edit2').style.display='none';document.getElementById('edit4').style.display='none';document.getElementById('edit5').style.display='none';}" value="table3" />
            级别三
		  </label>
		  <label> 
              	<input type="radio" name="keytable" onclick="if ( this.checked=true) {document.getElementById('edit5').style.display='';document.getElementById('edit1').style.display='none';document.getElementById('edit2').style.display='none';document.getElementById('edit3').style.display='none';document.getElementById('edit4').style.display='none';}" value="table5" />
            白名单
		  </label>
		  </td>		  
        </tr>
<!--
GH;

print<<<GH
-->		
		<tbody id="edit4" style="display:none;">
		 <tr>
          <td align="center" class="table_left">普通关键字<br /><br />
		  <font color="#990000">每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><label>
            <textarea name="commonk4" cols="40" rows="4">$wordarr40</textarea>
          </label>
		  </td>
        </tr>
        <tr>
          <td align="center" class="table_left">替换关键字<br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立=打倒台独;春药=打击色情;av=抵制色情</font>
		  </td>
          <td align="center"><textarea name="replacek4" cols="40" rows="4">$wordarr41</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">禁止关键字<br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><textarea name="forbidk4" cols="40" rows="4">$wordarr42</textarea></td>
        </tr>
		  <tr>
          <td align="center" class="table_left">通配符<br /><br />
		  <font color="#990000"> 每个通配符用分号';'(半角)连接: 台{2}独;春{3}药;a{2}v</font>
		  </td>
          <td align="center"><textarea name="wildcardstr4" cols="40" rows="4">$wordarr43</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">正则表达式<br /><br />
		  <font color="#990000"> 每个正则表达式用分号';'(半角)连接: 台.{5}独;(买|卖)春药;a[1-5]v</font>
		  </td>
          <td align="center"><textarea name="regxstr4" cols="40" rows="4">$wordarr44</textarea></td>
        </tr>
    </tbody>
	
         <tbody id="edit1" style="display:none;">
		 <tr>
          <td align="center" class="table_left">普通关键字<br /><br />
		  <font color="#990000">每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><label>
            <textarea name="commonk1" cols="40" rows="4">$wordarr10</textarea>
          </label>
		  </td>
        </tr>
        <tr>
          <td align="center" class="table_left">替换关键字<br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立=打倒台独;春药=打击色情;av=抵制色情</font>
		  </td>
          <td align="center"><textarea name="replacek1" cols="40" rows="4">$wordarr11</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">禁止关键字<br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><textarea name="forbidk1" cols="40" rows="4">$wordarr12</textarea></td>
        </tr>
		  <tr>
          <td align="center" class="table_left">通配符<br /><br />
		  <font color="#990000"> 每个通配符用分号';'(半角)连接: 台{2}独;春{3}药;a{2}v</font>
		  </td>
          <td align="center"><textarea name="wildcardstr1" cols="40" rows="4">$wordarr13</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">正则表达式<br /><br />
		  <font color="#990000"> 每个正则表达式用分号';'(半角)连接: 台.{5}独;(买|卖)春药;a[1-5]v</font>
		  </td>
          <td align="center"><textarea name="regxstr1" cols="40" rows="4">$wordarr14</textarea></td>
        </tr>
    </tbody>
	
		  <tbody id="edit2" style="display:none;">
		 <tr>
          <td align="center" class="table_left">普通关键字
		  <br /><br />
		  <font color="#990000">每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><label>
            <textarea name="commonk2" cols="40" rows="4">$wordarr20</textarea>
          </label></td>
        </tr>
        <tr>
          <td align="center" class="table_left">替换关键字
		  替换关键字<br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立=打倒台独;春药=打击色情;av=抵制色情</font>
		  </td>
          <td align="center"><textarea name="replacek2" cols="40" rows="4">$wordarr21</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">禁止关键字
		  <br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><textarea name="forbidk2" cols="40" rows="4">$wordarr22</textarea></td>
        </tr>
		  <tr>
          <td align="center" class="table_left">通配符
		  <br /><br />
		  <font color="#990000"> 每个通配符用分号';'(半角)连接: 台{2}独;春{3}药;a{2}v</font>
		  </td>
          <td align="center"><textarea name="wildcardstr2" cols="40" rows="4">$wordarr23</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">正则表达式
		  <br /><br />
		  <font color="#990000"> 每个正则表达式用分号';'(半角)连接: 台.{5}独;(买|卖)春药;a[1-5]v</font>
		  </td>
          <td align="center"><textarea name="regxstr2" cols="40" rows="4">$wordarr24</textarea></td>
        </tr>
      </tbody>
        
		  <tbody id="edit3" style="display:none;">
		 <tr>
          <td align="center" class="table_left">普通关键字
		  <br /><br />
		  <font color="#990000">每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><label>
            <textarea name="commonk3" cols="40" rows="4">$wordarr30</textarea>
          </label></td>
        </tr>
        <tr>
          <td align="center" class="table_left"> 替换关键字<br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立=打倒台独;春药=打击色情;av=抵制色情</font>
		  </td>
          <td align="center"><textarea name="replacek3" cols="40" rows="4">$wordarr31</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">禁止关键字
		  <br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><textarea name="forbidk3" cols="40" rows="4">$wordarr32</textarea></td>
        </tr>
		  <tr>
          <td align="center" class="table_left">通配符
		  <br /><br />
		  <font color="#990000"> 每个通配符用分号';'(半角)连接: 台{2}独;春{3}药;a{2}v</font>
		  </td>
          <td align="center"><textarea name="wildcardstr3" cols="40" rows="4">$wordarr33</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">正则表达式
		  <br /><br />
		  <font color="#990000"> 每个正则表达式用分号';'(半角)连接: 台.{5}独;(买|卖)春药;a[1-5]v</font>
		  </td>
          <td align="center"><textarea name="regxstr3" cols="40" rows="4">$wordarr34</textarea></td>
        </tr>
      
       
      </tbody>
	  <tbody id="edit5" style="display:none;">
		 <!--<tr>
          <td align="center" class="table_left">普通关键字
		  <br /><br />
		  <font color="#990000">每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><label>
            <textarea name="commonk3" cols="40" rows="4">$wordarr50</textarea>
          </label></td>
        </tr>
        <tr>
          <td align="center" class="table_left"> 替换关键字<br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立=打倒台独;春药=打击色情;av=抵制色情</font>
		  </td>
          <td align="center"><textarea name="replacek5" cols="40" rows="4">$wordarr51</textarea></td>
        </tr>-->
        <tr>
          <td align="center" class="table_left">保护关键字
		  <br /><br />
		  <font color="#990000"> 每个关键字用分号';'(半角)连接: 台湾独立;春药;av</font>
		  </td>
          <td align="center"><textarea name="forbidk5" cols="40" rows="4">$wordarr52</textarea></td>
        </tr>
		  <tr>
          <td align="center" class="table_left">通配符
		  <br /><br />
		  <font color="#990000"> 每个通配符用分号';'(半角)连接: 台{2}独;春{3}药;a{2}v</font>
		  </td>
          <td align="center"><textarea name="wildcardstr5" cols="40" rows="4">$wordarr53</textarea></td>
        </tr>
        <tr>
          <td align="center" class="table_left">正则表达式
		  <br /><br />
		  <font color="#990000"> 每个正则表达式用分号';'(半角)连接: 台.{5}独;(买|卖)春药;a[1-5]v</font>
		  </td>
          <td align="center"><textarea name="regxstr5" cols="40" rows="4">$wordarr54</textarea></td>
        </tr>
      
       
      </tbody>
    </table>
	<div align="center">
	 <label>
            <input name="Submit3" type="submit" class="submit" value="提交" />
            </label>
          <label>　
            <input name="Submit32" type="reset" class="submit" value="重置" />
            </label>
         </div> 
</form>

<script language="javascript">
function fsubmit()
{
	alert('sssssssssssss');
	form2.submit();
}
</script>
</body>
</html>
<!--
GH;
?>
--> 